package com.briup.demo.extend;

import com.briup.demo.Book;
import com.briup.demo.Category;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BookExtend extends Book {
    private Category category;
    @Override
    public String toString(){
        return super.toString() + ":" + category.toString();
    }

}
